package com.shihb.structuralpatterns.decoratorpattern;

/**
 * 被装饰者
 * @author shihb
 * @date 2020/7/18 21:02
 */
public abstract  class Drink {
  private String des;
  private Double price;

  public String getDes() {
    return des;
  }

  public void setDes(String des) {
    this.des = des;
  }

  public Double getPrice() {
    return price;
  }

  public void setPrice(Double price) {
    this.price = price;
  }

  abstract Double cost();
}
